<?php
/**
 * Created by PhpStorm.
 * User: 64423
 * Date: 2018/10/24
 * Time: 15:16
 */

namespace app\shop\validate;


use think\Validate;

class BannerValidate extends Validate
{
    protected $rule = [
        'desc' => 'require',
        'link_type' => 'require'
    ];

    protected $message = [
        'desc.require' => '请输入描述',
        'link_type.require' => '请选择链接类型'
    ];
}